BlueCielo Web Parts 2013 Administrator's Guide | BlueCielo ECM Solutions

You are here: VBScript functions > CanPublishDocument function

CanPublishDocument function

Returns Nothing when the Publish command is valid for the specified document in the SharePoint library. Otherwise, returns False. The name of the function is configured in the SharePoint site web.config file as described in Configuring the Publish function names.

Syntax

CanPublishDocument (DocumentID)
Parameters
Name Description

DocumentID

The ID of a document for which to validate publishing.

Related concepts

VBScript functions

Related tasks

PublishDocument function


Copyright © 2000-2013 BlueCielo ECM Solutions

www.bluecieloecm.com